package tfd.scala.squib.event;

import javax.swing.JSpinner
import javax.swing.event._

object spinnerValueChanged {
           
    def apply(delegate: Object =>Unit) = {
        def helper(evt:ChangeEvent) = {
        	delegate(evt.getSource.asInstanceOf[JSpinner].getValue)
        }
        ('stateChanged -> helper _)
    }
}
